const pool = require("../connection/sqlPool");

async function GET_POST() {
    try{
        const promisePool = pool.promise();
    
        const [rows, fields] = await promisePool.query("SELECT * FROM Shequ ");
        return rows;
    }catch(err){
        return err.message
    }

}

module.exports = { GET_POST }; 